<?php
if(!isset($_SESSION)){session_start();};
require_once("core.php");
GETMODULE($_GET['r'],$_GET['f']);
?>
<!DOCTYPE html>
<html class="no-js">
<head>
	<?php echo DESCRIPTION;?>
  <?php echo KEYWORD;?>
  <meta name="author" content="" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title><?php echo WEB_TITLE;?></title>
  <link rel="stylesheet" type="text/css" href="<?php echo WEB_URL;?>/stylesheets/reset.css" />
  <link rel="stylesheet" type="text/css" href="<?php echo WEB_URL;?>/stylesheets/css3.css" />
  <link rel="stylesheet" type="text/css" href="<?php echo WEB_URL;?>/stylesheets/general.css" />
  <link rel="stylesheet" type="text/css" href="<?php echo WEB_URL;?>/stylesheets/grid.css" />
  <link rel="stylesheet" type="text/css" href="<?php echo WEB_URL;?>/stylesheets/forms.css" />
  <!-- <link rel="stylesheet" type="text/css" href="<?php echo WEB_URL;?>/stylesheets/mobile.css" /> -->
  <link rel="stylesheet" type="text/css" href="<?php echo WEB_URL;?>/stylesheets/style.css"  media="screen" />

  <script type="text/javascript" src="<?php echo WEB_URL?>/libraries/modernizr-2.5.3.js"></script>
  <script type="text/javascript" src="<?php echo WEB_URL?>/javascripts/jquery.min.js"></script>

  <!-- StyleSheet Plugin-->
  
  <!-- Script Plugin -->
  <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
  <script type="text/javascript">
    var map = null;
    var ggm = null

    function initialize() {
      GGM=new Object(google.maps);
      var my_Latlng  = new GGM.LatLng(13.8, 100.7);
      var my_mapTypeId=GGM.MapTypeId.ROADMAP;
      var my_DivObj=$("#map_canvas")[0]; 
      var myOptions = {
        zoom: 6,
        center: my_Latlng ,
        mapTypeId:my_mapTypeId
      };
      map = new GGM.Map(my_DivObj,myOptions);
    }
    $(function(){
      $("<script/>", {
        "type": "text/javascript",
        src: "http://maps.google.com/maps/api/js?v=3.2&sensor=false&callback=initialize"
      }).appendTo("body");  
    });
  </script>
</head>
<body>
	<div id="wrapper">    
		<?php require_once('./shared/header.php');?>
    <section id="grid">
      <?php include_once($MODPATHFILE);?>
    </section>
  	<?php require_once('./shared/footer.php'); ?>
	</div>
</body>
</html>